Skip to content

[PWGDQ] Add J/psi-muon correlations task#17059

Open
kaareendrup wants to merge 25 commits into
AliceO2Group:masterfrom
kaareendrup:JPsiMuonCorrelations
Open

[PWGDQ] Add J/psi-muon correlations task#17059
kaareendrup wants to merge 25 commits into
AliceO2Group:masterfrom
kaareendrup:JPsiMuonCorrelations

Conversation

@kaareendrup

@kaareendrup kaareendrup commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Simple task to produce correlations between dimuon J/Psi candidates and single muons in the way of PWGDQ-130

@github-actions github-actions Bot added the pwgdq label Jul 14, 2026
@github-actions github-actions Bot changed the title J psi muon correlations [PWGDQ] J psi muon correlations Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 24 errors, ⚠️ 11 warnings, 🔕 0 disabled

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 502cc26 at 2026-07-14 22:32:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 9 errors and 0 warnings.'
Found 9 errors and 0 warnings.
++ [[ 9 -gt 0 ]]
++ cat /sw/BUILD/48154ab480ae762c0b307003e37514d695a20766/O2Physics-code-check/errors.txt
PWGDQ/Tasks/taskJPsiMu.cxx:14:1: error: included header AnalysisCompositeCut.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:15:1: error: included header AnalysisCut.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:24:1: error: included header BinningPolicy.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:29:1: error: included header StringHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:32:1: error: included header types.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:34:1: error: included header RtypesCore.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:39:1: error: included header memory is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:81:8: error: constructor does not initialize these fields: ccdb, fValuesDilepton, fValuesMuon [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:272:8: error: no header providing "size_t" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 9 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

alibuild commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 670d426 at 2026-07-17 14:36:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 2 errors and 0 warnings.'
Found 2 errors and 0 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/ff0e8b2f99ca63102e58455a8b5662a0fbea6411/O2Physics-code-check/errors.txt
PWGDQ/Tasks/taskJPsiMu.cxx:72:8: error: constructor does not initialize these fields: ccdb, fValuesDilepton, fValuesMuon [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGDQ/Tasks/taskJPsiMu.cxx:263:23: error: loop variable has narrower type 'uint8_t' than iteration's upper bound 'size_type' [bugprone-too-small-loop-variable,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 2 -gt 0 ]]
++ exit 1
--

Full log here.

Comment thread PWGDQ/Tasks/taskJPsiMu.cxx Outdated
Comment on lines +112 to +113
float* fValuesDilepton;
float* fValuesMuon;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use raw pointers. Why do you even need pointers here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Vit,
Good catch! I have just adopted what is done in more general DQ tasks (see tableReader_withAssoc.cxx) but it should be no problem to do without pointers or with smart pointers. I will push an update once I have tested locally.

Comment thread PWGDQ/Tasks/taskJPsiMu.cxx Outdated
Comment on lines +130 to +131
fValuesDilepton = new float[VarManager::kNVars];
fValuesMuon = new float[VarManager::kNVars];

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are these deleted?

@vkucera vkucera changed the title [PWGDQ] J psi muon correlations [PWGDQ] Add J/psi-muon correlations task Jul 16, 2026
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 0ddc0ed at 2026-07-17 17:06:

## sw/BUILD/O2-latest/log
2026-07-17T17:06:19.873+0200 [63988:140567234046528] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:19.873+0200 [62632:140136545102400] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:19.873+0200 [63827:140157596834368] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63827:140157596834368] [executioncontext.cpp:739] [ERROR] Failed to download output blob b8b860ad28f0079afe9472f49410fcf49bbe657248f6e5180bdd156e19bbc353: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63959:139690791430720] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63959:139690791430720] [executioncontext.cpp:739] [ERROR] Failed to download output blob dfa1cf168a33bd193e33abcb32eb077171fe68f9d8884d6a76002d65567c3c9d: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63211:139682027088448] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63211:139682027088448] [executioncontext.cpp:739] [ERROR] Failed to download output blob b367c31a5ae15d2f899b7a75bb43467d106b7ccf204ca9acf5fcd4d27f9e133f: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63397:140564185193024] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchUpdateBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.107+0200 [63397:140564185193024] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.UpdateActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [63708:139959918189120] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63708:139959918189120] [executioncontext.cpp:739] [ERROR] Failed to download output blob 1e32ca49fc02cfa07044a8118743172a3609e1b702f6616dde2e5b213e478974: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63782:140245732416064] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63782:140245732416064] [executioncontext.cpp:739] [ERROR] Failed to download output blob 57a0779ed3a01ad237d6878c85c1787d83ca199d135996afd7121edd91233212: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63804:139621182163520] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ByteStream.Read()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63804:139621182163520] [executioncontext.cpp:739] [ERROR] Failed to download output blob a2a0aa3f05202159d23cc77d1db3bd7ac80cd6651786798d7ea70920cf6dfa77: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63850:140434012494400] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63850:140434012494400] [executioncontext.cpp:739] [ERROR] Failed to download output blob 19e0affddb6450dc18b2d00e915a66d3159809676549d2e69eee6f7973a34458: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63883:139807545211456] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ByteStream.Read()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63883:139807545211456] [executioncontext.cpp:739] [ERROR] Failed to download output blob 3f5c55a8592f6624a2bd616022fa820c3c7cb09c74e962ee05616f517250a2b6: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63906:140626020026944] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "BatchReadBlobs()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63906:140626020026944] [executioncontext.cpp:739] [ERROR] Failed to download output blob e39b0ddacadf3b05bcf1201a5416a1fa96f160fd1a3f99b745fcb5ff46e3bc3f: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63910:140203032586816] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ByteStream.Read()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [63910:140203032586816] [executioncontext.cpp:739] [ERROR] Failed to download output blob 7e4138a270c135a7d7bc8349be14182326355063402f32834279eb8a5beedf6e: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63592:139875967101504] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ByteStream.Read()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.110+0200 [63592:139875967101504] [executioncontext.cpp:739] [ERROR] Failed to download output blob 4c69a69168fbf1931f3b9da3b02884a938537a99b093f801f7c8cdc08aa422b1: 14: Socket closed
2026-07-17T17:06:19.873+0200 [63263:139690257615424] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ByteStream.Read()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.111+0200 [63263:139690257615424] [executioncontext.cpp:739] [ERROR] Failed to download output blob 8d0a86c45a8760f76da2c7812cd6c12df022dc740bd92ce77a48ad3a6f933c63: 14: Socket closed
2026-07-17T17:06:20.795+0200 [64335:140230072003136] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:20.795+0200 [64335:140230072003136] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused
2026-07-17T17:06:24.426+0200 [64335:140230072003136] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B::1%5D:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [64282:139643597425216] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [64282:139643597425216] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: Socket closed
2026-07-17T17:06:25.319+0200 [64282:139643597425216] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [64232:139828805814848] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [64232:139828805814848] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: Socket closed
2026-07-17T17:06:29.564+0200 [64232:139828805814848] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:30.659+0200 [63104:140232986536512] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [64253:140376808647232] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [64253:140376808647232] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: Socket closed
2026-07-17T17:06:32.032+0200 [64253:140376808647232] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [64014:140327980251712] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [64014:140327980251712] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: Socket closed
2026-07-17T17:06:32.980+0200 [64014:140327980251712] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [64131:139856463927872] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: Socket closed]
2026-07-17T17:06:20.106+0200 [64131:139856463927872] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: Socket closed
2026-07-17T17:06:33.532+0200 [64131:139856463927872] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8980: Failed to connect to remote host: Connection refused]
2026-07-17T17:06:19.873+0200 [64035:139675608099392] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: Socket closed]
[0 more errors; see full log]

Full log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants